SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{4c540e0df23315db36424039dae982204c04bb84de85614b8cb40752b9c4d3b3}Schacht{4c540e0df23315db36424039dae982204c04bb84de85614b8cb40752b9c4d3b3}' OR prCity = 'Schacht' OR prZip = 'Schacht' OR prStreet LIKE '{4c540e0df23315db36424039dae982204c04bb84de85614b8cb40752b9c4d3b3}Schacht{4c540e0df23315db36424039dae982204c04bb84de85614b8cb40752b9c4d3b3}' OR prCountry = 'Schacht') AND (prLocation LIKE '{4c540e0df23315db36424039dae982204c04bb84de85614b8cb40752b9c4d3b3}Audorf{4c540e0df23315db36424039dae982204c04bb84de85614b8cb40752b9c4d3b3}' OR prCity = 'Audorf' OR prZip = 'Audorf' OR prStreet LIKE '{4c540e0df23315db36424039dae982204c04bb84de85614b8cb40752b9c4d3b3}Audorf{4c540e0df23315db36424039dae982204c04bb84de85614b8cb40752b9c4d3b3}' OR prCountry = 'Audorf') AND (prLocation LIKE '{4c540e0df23315db36424039dae982204c04bb84de85614b8cb40752b9c4d3b3}Germany{4c540e0df23315db36424039dae982204c04bb84de85614b8cb40752b9c4d3b3}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{4c540e0df23315db36424039dae982204c04bb84de85614b8cb40752b9c4d3b3}Germany{4c540e0df23315db36424039dae982204c04bb84de85614b8cb40752b9c4d3b3}' OR prCountry = 'Germany')